package com.demo.apparel.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@Schema(description = "衣服信息实体")
public class Clothes {

    @Schema(description = "衣服ID")
    private String id;

    @Schema(description = "所属用户ID")
    private String userId;

    @Schema(description = "衣服名称")
    private String name;

    @Schema(description = "详细描述")
    private String description;

    @Schema(description = "分类（上衣/裤子等）")
//    private String category;
    private Integer category;

    @Schema(description = "图片URL")
    private String imageUrl;

    @Schema(description = "最后更新时间")
    private LocalDateTime updateTime;

    @Schema(description = "出售状态（0未出售/1已出售）")
    private String statusSale;

    @Schema(description = "适用季节（春夏秋冬）")
    private String season;
}
